type net/http.persistConn
41 uses
net/http (current package)
transport.go#L98: idleConn map[connectMethodKey][]*persistConn // most recently used at end
transport.go#L700: func (pc *persistConn) shouldRetryRequest(req *Request, err error) bool {
transport.go#L907: func (t *Transport) putOrCloseIdleConn(pconn *persistConn) {
transport.go#L925: func (t *Transport) tryPutIdleConn(pconn *persistConn) error {
transport.go#L985: t.idleConn = make(map[connectMethodKey][]*persistConn)
transport.go#L1108: func (t *Transport) removeIdleConn(pconn *persistConn) bool {
transport.go#L1115: func (t *Transport) removeIdleConnLocked(pconn *persistConn) bool {
transport.go#L1218: pc *persistConn
transport.go#L1233: func (w *wantConn) tryDeliver(pc *persistConn, err error) bool {
transport.go#L1349: func (t *Transport) getConn(treq *transportRequest, cm connectMethod) (pc *persistConn, err error) {
transport.go#L1533: func (pconn *persistConn) addTLS(ctx context.Context, name string, trace *httptrace.ClientTrace) error {
transport.go#L1581: func (t *Transport) dialConn(ctx context.Context, cm connectMethod) (pconn *persistConn, err error) {
transport.go#L1582: pconn = &persistConn{
transport.go#L1769: return &persistConn{t: t, cacheKey: pconn.cacheKey, alt: alt}, nil
transport.go#L1788: pc *persistConn
transport.go#L1897: type persistConn struct {
transport.go#L1940: func (pc *persistConn) maxHeaderResponseSize() int64 {
transport.go#L1947: func (pc *persistConn) Read(p []byte) (n int, err error) {
transport.go#L1963: func (pc *persistConn) isBroken() bool {
transport.go#L1972: func (pc *persistConn) canceled() error {
transport.go#L1979: func (pc *persistConn) isReused() bool {
transport.go#L1986: func (pc *persistConn) gotIdleConnTrace(idleAt time.Time) (t httptrace.GotConnInfo) {
transport.go#L1998: func (pc *persistConn) cancelRequest(err error) {
transport.go#L2008: func (pc *persistConn) closeConnIfStillIdle() {
transport.go#L2028: func (pc *persistConn) mapRoundTripError(req *transportRequest, startBytesWritten int64, err error) error {
transport.go#L2083: func (pc *persistConn) readLoop() {
transport.go#L2263: func (pc *persistConn) readLoopPeekFailLocked(peekErr error) {
transport.go#L2300: func (pc *persistConn) readResponse(rc requestAndChan, trace *httptrace.ClientTrace) (resp *Response, err error) {
transport.go#L2357: func (pc *persistConn) waitForContinue(continueCh <-chan struct{}) func() bool {
transport.go#L2418: func (pc *persistConn) writeLoop() {
transport.go#L2466: func (pc *persistConn) wroteRequest() bool {
transport.go#L2566: func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err error) {
transport.go#L2717: func (pc *persistConn) markReused() {
transport.go#L2728: func (pc *persistConn) close(err error) {
transport.go#L2734: func (pc *persistConn) closeLocked(err error) {
transport.go#L2907: m map[*persistConn]*list.Element
transport.go#L2911: func (cl *connLRU) add(pc *persistConn) {
transport.go#L2914: cl.m = make(map[*persistConn]*list.Element)
transport.go#L2923: func (cl *connLRU) removeOldest() *persistConn {
transport.go#L2925: pc := ele.Value.(*persistConn)
transport.go#L2932: func (cl *connLRU) remove(pc *persistConn) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |